﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Procenge.PortalVendas.Models.Produto>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">codigo</div>
        <div class="display-field"><%: Model.codigo %></div>
        
        <div class="display-label">nome</div>
        <div class="display-field"><%: Model.nome %></div>
        
        <div class="display-label">fornecedor_cnpj</div>
        <div class="display-field"><%: Model.fornecedor_cnpj %></div>
        
        <div class="display-label">segmento</div>
        <div class="display-field"><%: Model.segmento %></div>
        
        <div class="display-label">descricao</div>
        <div class="display-field"><%: Model.descricao %></div>
        
        <div class="display-label">qtd</div>
        <div class="display-field"><%: Model.qtd %></div>
        
        <div class="display-label">secao</div>
        <div class="display-field"><%: Model.secao %></div>
        
        <div class="display-label">preco</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.preco) %></div>
        
    </fieldset>
    <p>

        <%: Html.ActionLink("Edit", "Edit", new { id=Model.codigo }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

